package com.ygq.train.business.service;

import cn.hutool.core.bean.BeanUtil;
import com.ygq.train.business.domain.DailyTrainStation;
import com.ygq.train.business.domain.DailyTrainStationExample;
import com.ygq.train.common.resp.PageResp;
import com.ygq.train.business.req.DailyTrainStationQueryReq;
import com.ygq.train.business.req.DailyTrainStationSaveReq;
import com.ygq.train.business.resp.DailyTrainStationQueryResp;

import java.util.Date;
import java.util.List;


public interface DailyTrainStationService {

     void save(DailyTrainStationSaveReq req);

     PageResp<DailyTrainStationQueryResp> queryList(DailyTrainStationQueryReq req);

     void delete(Long id);

     List<DailyTrainStationQueryResp> queryMine();


     void genDaily(Date date, String trainCode);

     long countByTrainCode(Date date, String trainCode);

     List<DailyTrainStationQueryResp> queryByTrain(Date date, String trainCode);
}